export const staticRouter = [
  {
    path: '/',
    // 重定向到登录页
    redirect: '/login'
  },
  {
    path: '/login',
    name: 'login',
    component: () => import('@/page/Login/index.vue'),
    meta: {
      title: 'login',
      hidden: false
    }
  },
  {
    path: '/404',
    name: '404',
    component: () => import('@/page/404/index.vue'),
    meta: {
      title: '404',
      hidden: true
    }
  },
  {
    path: '/lose',
    name: 'lose',
    component: () => import('@/page/Lose/index.vue'),
    meta: {
      title: 'Lose',
      hidden: true
    }
  },
  {
    path: '/layout',
    name: 'layout',
    component: () => import('@/views/Layout.vue'),
    meta: {
      title: 'Layout',
      permission: ['admin'],
      hidden: true
    }
  }
]
